﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CreateMChoiceTemplateUserControl.ascx.cs" Inherits="eAssessment.Webparts.CreateMChoiceTemplate.CreateMChoiceTemplateUserControl" %>
<SharePoint:CssRegistration runat="server" ID="css" EnableCssTheming="true" Name="CreateMChoice.css" />
<div id = "ueberschrift_div"><asp:Label ID="Label1" runat="server" Text="Neue Frage erstellen"></asp:Label>
    <hr id="Linie" /></div>
<div id="veranstaltung_div"><asp:Label ID="veranstaltungLabel" runat="server" Text="Veranstaltung: "></asp:Label></div>

<div id="thema_div">
    <asp:Label ID="Label2" runat="server" Text="Thema" CssClass="thema_Text"></asp:Label>
    <div id="auswaehlenThema_Text"><asp:Label ID="Label5" runat="server" Text="Thema auswählen "></asp:Label>
        <asp:DropDownList ID="themeDropDownList" runat="server">
            <asp:ListItem Selected="True" Value="keins"></asp:ListItem>
        </asp:DropDownList>
    </div>
    <div id="neuThema_Text">
        <asp:Label ID="Label3" runat="server" Text="neues Thema "></asp:Label>
        <asp:TextBox ID="themeTextbox" runat="server"></asp:TextBox>
    </div>
</div>

<div id ="frage_div">
    <asp:Label ID="Label4" runat="server" Text="Frage" CssClass="frage_Text"></asp:Label>
    <div id ="frage_Textbox"><asp:Label ID="questionErrorLabel" Text="Frage darf nicht leer sein" CssClass="frage_Error" runat="server" Visible="false"></asp:Label>
    <asp:TextBox ID="questionTextBox" TextMode="MultiLine" runat="server" width="600px" height="400px"></asp:TextBox>
    </div>
</div>

<div id="antwort_div">
    <asp:Label ID="answerErrorLabel" Text="" CssClass="antwort_Error" runat="server" Visible="false"></asp:Label>
    <asp:Table ID="answerTable" runat="server">
        <asp:TableHeaderRow>
            <asp:TableHeaderCell Text="Antwort" Font-Size="120%" CssClass="TableHeader"></asp:TableHeaderCell>
            <asp:TableHeaderCell Text="Richtig" Font-Size="120%" Width="100" CssClass="TableHeader"></asp:TableHeaderCell>
        </asp:TableHeaderRow> 
    </asp:Table>

    <asp:TextBox ID="answerTextbox" runat="server"></asp:TextBox>
    <asp:Button ID="addAnswerButton" OnClick="onAddAnswerClick" runat="server" Text="hinzufügen" CssClass="antwort_hinzufuegen_Button" />
</div>
<div id ="erstellen">
    <asp:Button ID="createQuestionButton" runat="server" Text="ERSTELLEN" OnClick="onCreateQuestionClick" CssClass="absenden_Button" />
</div>